Calculator II is a pleasant looking color multi-function calculator that runs as an application under system 6.x or System 7. The calculator was written as an application to be run under MultiFinder or System 7 alongside other applications. It improves on Apple’s original calculator by adding trigonometric functions, functions for base 10 and natrual logorithms and their inverses, hex-to-decimal and decimal-to-hex conversion, a memory function for storing values across uses of the program, and all of these functions can be invoked by using the F-Keys on the Apple Extended keyboard (F5 - F15). The calculator also allows users to correct trailing digits of values entered on the display of the calculator through the use of a backspace key. Balloon help and general information about the program is available under either the Help menu under System 6.x or the Balloon Help menu under System 7. This software is being distributed as FREEware so give it a try and let me know what you think!
This version fixes bugs that prevented values to be copied from/to the clipboard. Also improved are operations which make use of the contents of the stored memory such as 5 + RM = result. The calculator now also displays a trailing decimal point correctly. Have patience, the other calculator faces are coming!
This application has been explicitly tested under Systems 6.0.7 and 7.0 (with and without System 7 Tuneup 1.1.1). Testing was performed using a IIcx and a Classic. Previous versions have run successfully on LCs and SE/30s.
2. Base 10 and Natural logarithms and their inverse functions.
3. Square and Square root functions.
4. Conversion from HEX numbers to decimals and visa versa. NOTE: HEX values must be entered in uppercase only and cannot exceed the value 0xFFFFFFFF.
5. Power and nth root functions.
6. Ability to correct trailing digits of values being entered on the calculator’s display.
7. Support for complete operation of calculator functions via the Apple Extended Keyboard (F5 - F15 required).
8. Ability to cut, copy and paste to and from the clipboard.
9. Balloon help is available for menus, About Dialog box, calculator keys, and the icon in the Finder.
10. General information about the program (CalCulator II ReadMe document) is also available under the Help menu under Systems 6.0.x or 7.
11. Calculator remembers last used position on screen.
12. Shift key can be used with function and Clear keys to execute 2nd functions (e.g. arcsin instead of sin). When used with the Clear key only the last entry is cleared and not the entire equation. Likewise, the shift key can also be used with the mouse to access the 2nd Functions.
13. Calculator II retains the contents of its memory across uses of the program.
Keyboard Map for Function Keys:
The function keys that appear on the calculator are mapped to the Function keys F5 - F15 on the Apple Extended Keyboard. Here is the correspondence map:
F5=sin
F6=cosine
F7=tangent
F8=2nd Function
F9=Value of PI
F10=Natural Log
F11=Base 10 Log
F12=Backspace Key
F13=Power function
F14=Square root function
F15=Square function
Shift + F5=arc sin
Shift + F6=arc cosine
Shift + F7=arc tangent
Shift + F9=Factorial function
Shift + F10=Constant e raised to a power.
Shift + F11=Constant 10 reaised to a power.
Shift + F13=Nth Root function
Shift + F14=Cubed Root function
Shift + F15=expression 1 divided by x
Esc, c, Clear=Clear function
*, x=Multiplication
X=Memory Enter
R=Memory Recall
M=Memory Add
?=About Dialog box
Delete=Backspace function
Enter=Equal function
Shift + Clear or Esc = Clear Last Entry
Future Plans for Calculator II:
1. Make parentheses functional.
2. Force Calculator to solve equations using the standard Hierarchy of Operators.
3. Option to display commas every 3 digits in results window.
4. Switch to display Statistical, Business, Scientific, or Programmer functions.
5. Option to display negative numbers in red color or parentheses instead of with leading negative sign.
6. Ticker tape available for display and output to disk.
Correspondence:
I can be reached by U.S mail at:
4477 West Taro Drive
Glendale, AZ 85308
(602) 581-3865
I can also be reached at:
cicinell@saifr00.cfsat.honeywell.com
Bibliography:
1. Apple Computer, Inc. (1985-91). Inside Macintosh, vol. I-VI. Reading, Mass: Addison-Wesley Publishing Company, Inc.
2. Apple Computer, Inc. (1988). Inside Macintosh X-Ref. Reading, Mass: Addison-Wesley Publishing Company, Inc.
3. Apple Computer, Inc. (1990). ResEdit Reference. Reading, Mass: Addison-Wesley Publishing Company, Inc.
4. Chernicoff, S. (1985). Macintosh Revealed, Programming With the Toolbox, vol 2. Hasbrouck Heights, NJ: Hayden Book Company.
5. Chernicoff, S. (1985). Macintosh Revealed, Unlocking the Toolbox, vol 1. Hasbrouck Heights, NJ: Hayden Book Company.
6. Chernicoff, S. (1989). Macintosh Revealed, Mastering the Toolbox, vol 3. Hasbrouck Heights, NJ: Hayden Book Company.
7. Chernicoff, S. (1990). Macintosh Revealed, Expanding the Toolbox, vol 4. Hasbrouck Heights, NJ: Hayden Book Company.
8. Huxham, F. A., Bernard, D., & Takatsuka, J. (1989). Using the Macintosh Toolbox With C. San Francisco, CA: SYBEX Inc.
9. Kernighan, B. W., & Ritchie, D. M. (1988). The C Programming Language. Englewood Cliffs, NJ: Prentice Hall.
10. Knaster, S. (1988). Macintosh Programming Secrets. Reading, Mass: Addison-Wesley Publishing Company, Inc.
11. Little, G., & Swihart, T. (1991). Programming for System 7. Reading, Mass: Addison-Wesley Publishing Company, Inc.
12. Mark, D. (1990). Macintosh C Programming Primer, vol 2. Reading, Mass: Addison-Wesley Publishing Company, Inc.
13. Mark, D., & Reed, C. (1989). Macintosh Programming Primer. Reading, Mass: Addison-Wesley Publishing Company, Inc.
14. Müldner, T., & Steele, P. W. (1988). C as a Second Language. Reading, Mass: Addison-Wesley Publishing Company, Inc.
15. Surovell, D. A., Hall, F. M., & Othmer, K. (1992). Programming Quickdraw™: Includes Color Quickdraw™ and 32-Bit Quickdraw™. Reading, Mass: Addison-Wesley Publishing Company, Inc.